package com.wql.mapper;


import com.aaa.entity.OStock;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
* @author 咕噜咕噜
* @description 针对表【o_stock(商品存货信息)】的数据库操作Mapper
* @createDate 2023-03-07 19:52:46
* @Entity com.wql.entity.OStock
*/
@Repository
public interface OStockMapper extends BaseMapper<OStock> {

    void changeStock(Integer id, Integer totalnum);


    Integer queryResidue (Integer goodsId);

}




